import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 获取省份
export function devopsProvinceList(params) {
	return getRequest('/devops/province/list', params);
}

// 导入excel，支持单元格合并
/**
 *  @titleList Array, 标题, ['机台', '产量', '能耗']
    @valueList [Array], 如：[['xs001', 1,2,3,4]] 数据
    @mergedKey: String, 合并的标题名，如："机台"
    @fileName: String, 文件名
 * */
export const exportExcelMerge = (params) => postRequest('/excel/generate-excel', params);
